page {
  position: relative;
  padding-bottom: 90rpx;
}
.goodsDetail_container {
  background-color: #f4f4f4;
  position: relative;
  // 轮播图样式
  .swiper_container {
    width: 100%;
    height: 700rpx;
    .swiper_image {
      width: 100%;
    }
  }
  // 退货退款样式
  .refundInfo {
    width: 100%;
    height: 80rpx;
    padding: 0 40rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .refundInfo_item {
      display: flex;
      justify-content: center;
      align-items: center;
      .redDot {
        width: 10rpx;
        height: 10rpx;
        border-radius: 50%;
        border: 1rpx solid #ab2b2b;
        background-color: transparent;
      }
      .refundInfo_text {
        padding: 0 5rpx;
        color: #666;
      }
    }
  }
  // 商品信息样式
  .goods_info {
    width: 100%;
    padding: 40rpx;
    border-bottom: 1rpx solid #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    .goods_name {
      font-size: 40rpx;
      font-weight: 600;
      padding: 10rpx;
    }
    .goods_brief {
      color: #666;
    }
    .goods_price {
      font-size: 36rpx;
      color: #ab2b2b;
      padding: 40rpx;
    }
  }
  // 选择规格样式
  .choose {
    width: 100%;
    height: 90rpx;
    padding: 20rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    margin-bottom: 20rpx;
    .iconfont {
      font-size: 60rpx;
    }
  }
  // 评论样式
  .commentContainer {
    background-color: #fff;
    padding: 0 20rpx;
    margin-bottom: 20rpx;
    .comment_title_row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 2rpx solid #ccc;
      padding: 30rpx 0;
      font-size: 34rpx;
    }
    .commentList {
      width: 100%;
      padding: 0 20rpx;
      .commentItem {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 30rpx 0;
        .user_info {
          display: flex;
          justify-content: space-between;
          align-items: center;
          .avatar_username {
            display: flex;
            justify-content: center;
            align-items: center;
            image {
              width: 60rpx;
              height: 60rpx;
              border-radius: 50%;
              margin-right: 10rpx;
            }
          }
          .comment_time {
            color: #666;
          }
        }
        .comment_content {
          margin-top: 20rpx;
        }
        .comment_imgList {
          width: 720rpx;
          height: 150rpx;
          margin-top: 20rpx;
          .comment_img {
            height: 150rpx;
            width: 150rpx;
            margin-right: 28rpx;
          }
        }
      }
    }
  }
  
  // 商品参数样式
  .goodsAttribute {
    width: 100%;
    background-color: #fff;
    .goodsAttribute_title {
      font-size: 40rpx;
      font-weight: 600;
      padding: 20rpx;
      border-bottom: 1rpx dashed #ccc;
    }
    .goodsAttribute_item {
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 20rpx;
      border-bottom: 1rpx dashed #ccc;
      .goodsAttribute_name {
        white-space: nowrap;
        color: #666;
        margin-right: 40rpx;
      }
      .goodsAttribute_value {
        font-size: 34rpx;
      }
    }
  }
  // 商品描述样式
  .goodsDesc_container {
    width: 100%;
    .rich-img {
      max-width: 100%;
      height: auto;
      display: block;
    }
  }
  // 常见问题样式
  .issue_container {
    width: 100%;
    padding: 20rpx 0;
    background-color: #fff;
    .issue_title {
      padding: 40rpx;
      text-align: center;
      position: relative;
      &:before, &:after {
        content: '';
        width: 160rpx;
        height: 2rpx;
        background-color: #ccc;
        position: absolute;
        top: 50%;
      }
      &:before {
        left: 100rpx;
      }
      &:after {
        right: 100rpx;
      }
    }
    .issue_item {
      .issue_question_container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10rpx;
        .redDot {
          margin: 0 10rpx;
          width: 10rpx;
          height: 10rpx;
          border-radius: 50%;
          background-color: #ab2b2b;
        }
      }
      .issue_answer {
        padding: 10rpx 20rpx;
        color: #666;
      }
    }
  }
  // 相关商品样式
  .goodsRelated_container {
    width: 100%;
    padding: 20rpx 0;
    background-color: #fff;
    .goodsRelated_title {
      padding: 40rpx;
      text-align: center;
      position: relative;
      &:before, &:after {
        content: '';
        width: 160rpx;
        height: 2rpx;
        background-color: #ccc;
        position: absolute;
        top: 50%;
      }
      &:before {
        left: 100rpx;
      }
      &:after {
        right: 100rpx;
      }
    }
    .goodsRelated_list {
      padding-bottom: 20rpx;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      align-content: center;
      .goodsRelated_item {
        width: 50%;
        padding: 0 20rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        &:nth-child(even) {
          border-top: 1rpx solid #ccc;
          border-left: 1rpx solid #ccc;
        }
        &:nth-child(odd) {
          border-top: 1rpx solid #ccc;
        }
        image {
          width: 100%;
        }
        .goodsRelated_price {
          font-weight: 600;
          color: #ab2b2b;
        }
      }
    }
  }
}

 // 选择规格数量页面样式
.chooseAttrPage {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  bottom: 90rpx;
  background-color: rgba(0, 0, 0, 0.5);
  .chooseAttrBox {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #fff;
    padding: 40rpx;
    .goodsInfo_row {
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      image {
        width: 25%;
      }
      .price_choose_col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin-left: 40rpx;
        .price_row {
          padding: 20prx 0;
          font-size: 32rpx;
          color: #ab2b2b;
        }
      }
    }
    .num_row {
      padding-top: 40rpx;
      .num_title {
        padding: 20rpx 0;
      }
      .num_edit {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        .edit {
          width: 100rpx;
          height: 60rpx;
          border: 1rpx solid #666;
          border-right: none;
          text-align: center;
          line-height: 60rpx;
        }
        .num_content {
          box-sizing: border-box;
          width: 120rpx;
          height: 60rpx;
          border: 1rpx solid #666;
          text-align: center;
          line-height: 60rpx;
        }
        .subtraction {
          border: 1rpx solid #ccc;
          border-right: none;
          color: #ccc;
        }
        .add {
          border: 1rpx solid #666;
          border-left: none;
        }
      }
    }
    .closePage {
      position: absolute;
      top: 20rpx;
      right: 20rpx;
    }
  }
}

 // 底部导航栏样式
.bottomNav_container {
  width: 100%;
  height: 90rpx;
  position: fixed;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-top: 1rpx solid #ccc;
  background-color: #fff;
  padding: 10rpx 20rpx 10rpx 0;
  .navItem_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    .icon-yishoucang {
      color: #dd1922;
    }
    .contactBtn {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
    }
    .cart_num {
      position: absolute;
      top: 5rpx;
      right: 0;
      width: 30rpx;
      height: 30rpx;
      border-radius: 50%;
      background-color: #ab2b2b;
      text-align: center;
      line-height: 30rpx;
      font-size: 20rpx;
      color: #fff;
    }
    .iconfont {
      font-size: 40rpx;
    }
    .text {
      font-size: 22rpx;
    }
  }
  .addToCart {
    flex: 3;
    height: 70rpx;
    border-radius: 35rpx;
    background-color: #cc9756;
    font-weight: 600;
    line-height: 70rpx;
    text-align: center;
    color: #fff;
    margin: 0 10rpx;
  }
  .buyNow {
    flex: 3;
    height: 70rpx;
    border-radius: 35rpx;
    background-color: #dd1922;
    font-weight: 600;
    line-height: 70rpx;
    text-align: center;
    color: #fff;
  }
}